package com.hgd.tools;

import org.hibernate.cfg.Configuration;
import org.hibernate.tool.hbm2ddl.SchemaExport;
import org.hibernate.tool.hbm2ddl.SchemaUpdate;

public class ExportDB {

	public static void main(String[] args) {
		Configuration cfg = new Configuration().configure();
		SchemaUpdate update = new SchemaUpdate(cfg);
		update.execute(true, true);
	}
}
